import React, { Component,Fragment } from 'react';
import { Radio,Button } from 'antd';
import "./index.scss";

export default class MenuItem extends Component {
        constructor(props) {
                super(props);
                this.state = {
                        currentMenuType: 'manager'
                }
        }

        goToHome() {
                this.props.history.push('/home');
        }

        menuTypeChange = (e) => {
                this.setState({
                        currentMenuType : e.target.value
                })
        }

        doAdd = () => {
                console.log('add')
        }

        render() {
                return (
                    <Fragment>
                            <div className="menu-tag-wrapper">
                                    <div className="name">系统管理</div>
                                    <i className="iconfont iconxiugai"></i>
                                    <span className="y-axis"></span>
                                    <i className="iconfont iconshanchu"></i>
                                    <span className="y-axis"></span>
                                    <i className="iconfont iconadd"></i>
                            </div>
                    </Fragment>
                )
        }
}
